package com.xm;

public class Character01 {
    public static void main(String[] args) {
        Character a = new Character('a');
        if (a instanceof Character) {
            System.out.println("包装类");
        }

        // 转义字符
        System.out.println("访问\"菜鸟教程\"");

        // 返回字符的字符串形式，字符串的长度仅为1
        String s = Character.toString('a');
        if (s instanceof String) {
            System.out.println("字符串");
        }
        System.out.println(Character.toString('A'));
    }
}
